<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>网站配置信息设置</title>
<link rel="stylesheet" type="text/css" href="http://localhost/0423/suning/Application/Admin/View/Public/css/admin_style.css" />
<link rel="stylesheet" type="text/css" href="http://localhost/0423/suning/Application/Admin/View/Public/css/table.css" />
<script src="http://localhost/0423/suning/Static/js/jquery-1.7.2.min.js"></script>
<script src="http://localhost/0423/suning/Application/Admin/View/Public/js/jquery-1.4.4.min.js"></script>
 <script src="http://localhost/0423/suning/Static/js/alert.js"></script>  
<script src="http://localhost/0423/suning/Application/Admin/View/Public/js/iframe.js"></script>
 
</head>
<body class="right_body">
	<div class="body">
		<div class="top_subnav">CMS内容管理平台 ＞ 网站配置信息设置</div>


		<div style="clear:both"></div>
		<div class="use_meth">
			<div class="title">
				<div class="title_info light">
					网站配置信息设置
				</div>
			</div>
	<!-- /////////////////////// -->
	<div class="wrap">
    <div class="title-header">站点配置</div>
    <form action="" method="post" class="form-inline hd-form">
        <table class="hd-table hd-table-list">
            <tr>
                <th colspan="100">网站信息</th>
            </tr>
            <tr>
                <td class="w50"  width="100">名称</td>
                <td class="w100" width="300">设置</td>
               
            </tr>
            <?php foreach ($webSetInfo as $k=>$v){?>
            	    <?php if($v['name'] == INDEX_TPL_STYLE){ ?>
            		 <tr>
		                <td class="w50" width="100"><?php echo $v['title'];?></td>
		                <td class="w100" width="100">
		                	
							<select  name = "<?php echo $v['name'];?>">
								<?php foreach ($dir as $dkey=>$dvalue){?>
								<option value="<?php echo $dvalue;?>"       <?php if($v['value'] ==$dvalue){ ?>selected="selected"<?php } ?>><?php echo $dvalue;?></option>
								<?php }?>
							</select>
						
		                </td>
		            </tr>
            	<?php } ?>
            	    <?php if($v['name'] != INDEX_TPL_STYLE){ ?>
            		 <tr>
		                <td class="w50" width="100"><?php echo $v['title'];?></td>
		                <td class="w100" width="100"><input type="text" value="<?php echo $v['value'];?>"  name = "<?php echo $v['name'];?>" /></td>
		            </tr>
            	<?php } ?>
             
            <?php }?>
        </table>
        <div class="position-bottom">
            <input type="submit" class="hd-success" value="保存"/>
        </div>
    </form>
</div>
	<!-- /////////////////////// -->
		</div>
	
	</div>

<script type="text/javascript">
    function hd_modal_del(id) {
        hd_modal({
            width: 400,//宽度
            height: 150,//高度
            title: '确认删除吗？',//标题
            content: '',//提示信息
            button: true,//显示按钮
            button_success: "确定",//确定按钮文字
            button_cancel: "取消",//关闭按钮文字
            timeout: 0,//自动关闭时间 0：不自动关闭
            shade: false,//背景遮罩
            shadeOpacity: 0.4,//背景透明度
            success: function () {//点击确定后的事件
                location.href = "http://localhost/0423/suning/admin.php/Admin/Webset" + '/del/gid/' + id;
            },
            cancel: function () {//点击关闭后的事件
                
            }
        });
    }
</script>


</body>
</html>
